﻿using HBase;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace hCommand.entity
{
    public class EqupPos : BaseMongoLog , IComparable<EqupPos> {
        public string code {//初级电压
            get; set;
        }
        public string n {//初级电压
            get; set;
        }
        public String v1 {//初级电压
            get; set;
        }
        public double hz {//频率
            get; set;
        }
        public double i {//电流
            get; set;
        }
        public int tmp {//温度
            get; set;
        }
        public int tc {//次数
            get; set;
        }
        public int tl {//拉丝时长
            get; set;
        }
        public int ta {//运行时长
            get; set;
        }

        public int bm {//拨码开关
            get; set;
        }
        public int s {
            get; set;
        }
        public int e {
            get; set;
        }
        public int w {
            get; set;
        }
      

        public int CompareTo(EqupPos other) {
         long div=   this.time.Ticks - other.time.Ticks;
            if (div > 0) {

                return 1;
            } else {
                return -1;
            }
        }
    }
}
